package com.wizards.mtg.mana;

import java.util.Arrays;
import java.util.List;

import com.wizards.mtg.Payable;
import com.wizards.mtg.card.Color;

public class Mana implements Payable
{
	private int amount;
	private Color color;
		
	public Mana() {
		this(1, Color.COLORLESS);
	}
		
	public Mana(Color color) {
		this(1, color);
	}
	
	public Mana(int amount) {
		this(amount, Color.COLORLESS);
	}
	
	public Mana(int amount, Color color) {
		this.amount = amount;
		this.color = color;
	}

	public int getAmount() {
		return amount;
	}
	
	public Color getColor() {
		return color;
	}

	@Override
	public List<Payable> getPaymentOptions() {
	    return Arrays.asList(new Payable[]{ this });
	}
}
